﻿using LogCenterService.Models;
using SqlSugar;

namespace LogCenterService.DbCore
{
    public class DbContext
    {
        public static SqlSugarScope Db = new SqlSugarScope(new ConnectionConfig()
        {
            DbType = DbType.QuestDB,
            ConnectionString = AppSettings.DBConnectionString,
            IsAutoCloseConnection = true
        });
    }
}